package com.haixee.parkdemo.auth.service;

import com.haixee.parkdemo.auth.model.Organize;

import java.util.List;

public interface OrganizeService {

    void addOrganize(Integer tenant, Integer parentId, Byte type, String name, Boolean isManage);

    void updateOrganize(Integer id, String name);

    List<Organize> getAll(Integer tenant);

    List<Integer> getUnderTree(Integer uid);

    List<Integer> getUnderTreeById(Integer id);
}
